Search
InternalUtils.DistanceAlongLength Method
See Also
 





Returns the distance from the specified point to the start of the specified path along the path's length.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public static float DistanceAlongLength (
    PointF point,
    IList<PointF> segments
)

Visual Basic  Copy Code

Public Shared Function DistanceAlongLength( _
    point As PointF, _
    segments As IList(Of PointF) _
) As Single

 Parameters

point

A PointF whose distance to the path start to calculate.

segments

A list of points specifying the path.

 Return Value

A float value specifying distance from the point to the path origin.

 See Also